package com.keeley.exception;

public class TiebaException extends Exception{
	private static final long serialVersionUID = 1L;
	private int error;
	private String errorMsg;
	
	public TiebaException(int error, String errorMsg) {
		super(errorMsg);
		this.error = error;
		this.errorMsg = errorMsg;
	}
	public int getError() {
		return error;
	}
	public void setError(int error) {
		this.error = error;
	}
	public String getErrorMsg() {
		return errorMsg;
	}
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
	
}
